package com.ydche.service;

import com.ydche.idl_output.*;
import org.apache.thrift.TException;

public interface InsuranceService {

    /**
     * 精准报价
     * @param parm
     * @return
     */
    QuoteResultBiz getAccurateQuote(Long userId, QuoteParmBiz parm) throws TException;

    /**
     * 核保
     * @param parm
     * @return
     */
    ReinsurResp getReinsurance(Long userId, ReinsurParm parm) throws TException;

    /**
     * 查询车辆保险信息
     * @param parm
     * @return
     */
    InsuranceResp getInsuranceInfo(CarInfoParm parm) throws TException;

    /**
     * 获取险种信息
     * @return
     */
    RiskResp getRiskList() throws TException;

    /**
     * 地区支持的保险公司
     * @param applicationID
     * @param provinceCode
     * @param cityCode
     * @return
     */
    SupportInsuranceResp getSupportInsuranceUnit(String applicationID, String provinceCode, String cityCode) throws TException;

    /**
     * 上传行驶证、身份证等图像信息
     * @param parm
     * @return
     */
    ImgUploadResp ztImageUpload(ZtUploadParm parm) throws TException;

    InsuranceUnitInfo getInsuranceUnitInfo(String unitCode)throws TException;
    public InsuranceTypes getInsuranceType(String code)throws TException;
}
